import Vue from 'vue';
import Vuex from 'vuex';
import shopCart from './shopCart';

Vue.use(Vuex);

const store = new Vuex.Store({
    modules: {
        shopCart
    }
});

store.commit('shopCart/init');

export default store;